<!-- 所有问题列表 -->
<div class="list-group index-title-list-item">
	<div class="list-group-item ">
		<div class="show-title">
			{{course.couName}}<span ng-hide="course.couName">天津大学</span>学识列表 <span class="more-btn" ng-click="$back()">返回上级</span>
		</div>
	</div>
	<div class="list-group-item">
		<div ui-state id="activeTab" default="1"></div>
		<div class="tabs">
			<ul class="nav nav-tabs">
				<li ui-class="{'active': (activeTab == 1)}">
					<a ui-class="{'active': (activeTab == 1)}" ui-set="{'activeTab': 1}">最热</a>
				</li>
				<li ui-class="{'active': (activeTab == 2)}">
					<a ui-class="{'active': (activeTab == 2)}"  ui-set="{'activeTab': 2}">最新</a>
				</li>
			</ul>
		</div>
	</div>
	<div ng-repeat="questionBlock in goodQuestionBlocks track by questionBlock.questionInfo.queId">
		<div class="list-group-item" ui-if="activeTab == 1">
			<a class="index-title-list-item" ui-sref="question.detail({queId: questionBlock.questionInfo.queId})">
				<div class="container-fluid section">
					<div class="my-question">
						<div class="my-sub-title">
							<span class="blue-text">{{questionBlock.student.stuName}}</span>在<span class="blue-text">{{questionBlock.courseInfo.couName}}</span>区提问：
						</div>
						<div class="my-question-title row">
							<div class="col-xs-12">
								{{questionBlock.questionInfo.queName}}
							</div>
						</div>
					</div>
					<div ng-repeat="answer in questionBlock.answerInfos track by answer.ansId">
						<div class="my-answer row">
							<div class="col-xs-2 good-area">
								<div class="good-heart text-center blue-text">
									<i class="fa fa-heart"></i>
								</div>
								<div class="good-num text-center">
									{{answer.goodCount}}
								</div>
							</div>
							<div class="col-xs-10 my-answer-title">
								{{answer.ansName}}
							</div>
						</div>
					</div>
				</div>
			</a>
		</div>
	</div>
	<div ng-repeat="questionBlock in newQuestionBlocks track by questionBlock.questionInfo.queId">
		<div class="list-group-item" ui-if="activeTab == 2">
			<a class="index-title-list-item" ui-sref="question.detail({queId: questionBlock.questionInfo.queId})">
				<div class="container-fluid section">
					<div class="my-question">
						<div class="my-sub-title">
							<span class="blue-text">{{questionBlock.student.stuName}}</span>在<span class="blue-text">{{questionBlock.courseInfo.couName}}</span>区提问：
						</div>
						<div class="my-question-title row">
							<div class="col-xs-12">
								{{questionBlock.questionInfo.queName}}
							</div>
						</div>
					</div>
					<div ng-repeat="answer in questionBlock.answerInfos track by answer.ansId">
						<div class="my-answer row">
							<div class="col-xs-2 good-area">
								<div class="good-heart text-center blue-text">
									<i class="fa fa-heart"></i>
								</div>
								<div class="good-num text-center">
									{{answer.goodCount}}
								</div>
							</div>
							<div class="col-xs-10 my-answer-title">
								{{answer.ansName}}
							</div>
						</div>
					</div>
				</div>
			</a>
		</div>
	</div>
</div>